package com.bootdo.market.dao;

import com.bootdo.market.domain.ProductChannelDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author jinse
 * @email market@jinse.com
 * @date 2019-04-12 18:15:52
 */
@Mapper
public interface ProductChannelDao {

    ProductChannelDO get(Integer id);

    List<ProductChannelDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(ProductChannelDO productChannel);

    int update(ProductChannelDO productChannel);

    int remove(Integer id);

    int batchRemove(Integer[] ids);

    List<Map<String, Object>> listAllProduct();
}
